package com.itheima.hmshopping.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.hmshopping.entity.SmsHomeNewProduct;

import java.util.List;

public interface SmsHomeNewProductServiceApi {
    //添加首页新品
    void insert(SmsHomeNewProduct smsHomeNewProduct);

    //批量删除首页新品
    void delete(List<Long> ids);
    //分页查询首页新品
    Page<SmsHomeNewProduct> page(Integer pageNum, Integer pageSize, String productName, Integer recommendStatus);

    //批量修改首页新品状态
    void updateList(List<Long> ids, Integer recommendStatus);

    ////修改首页新品排序
    void updateSort(Long id, Integer sort);
}
